package com.base.system.domain.bo;
import com.base.common.core.domain.BaseEntity;
import com.base.common.core.validate.AddGroup;
import com.base.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 角色菜单权限业务对象 t_sys_role_menu
 *
 * @author base
 * @date 2023-10-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TSysRoleMenuBo extends BaseEntity {

    /**
     * 自增id
     */
    @NotBlank(message = "自增id不能为空", groups = { EditGroup.class })
    private String autoId;

    /**
     * 角色id
     */
    @NotBlank(message = "角色id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String roleId;

    /**
     * 菜单id
     */
    @NotBlank(message = "菜单id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String menuId;


}
